package com.xx.service;

import com.xx.entity.Auction;
import com.xx.entity.Auctionrecord;
import com.xx.entity.VO.AuctionRecordVo;

import java.io.IOException;
import java.util.List;

public interface AuctionRecordService {
    /**
     * 添加
     * @param auctionrecord
     * @return
     */
    public int add(Auctionrecord auctionrecord) throws IOException;

    /**
     * 查看竞拍结果
     * @return
     */
    public List<AuctionRecordVo> getAll(Integer auctionId) throws IOException;

    /**
     * 竞价查看
     * @return
     */
    public List<Auctionrecord>getAllId() throws IOException;
}
